Skip to content

feat: standardise SP approval review tracking with issue template#28

Merged
BigLep merged 3 commits into
FilOzone:masterfrom
TippyFlitsUK:TippyFlitsUK-sp-approval-template
May 21, 2026
Merged

feat: standardise SP approval review tracking with issue template#28
BigLep merged 3 commits into
FilOzone:masterfrom
TippyFlitsUK:TippyFlitsUK-sp-approval-template

Conversation

@TippyFlitsUK
Copy link
Copy Markdown
Contributor

@TippyFlitsUK TippyFlitsUK commented Apr 7, 2026

Introduces a standard SP approval issue template in tpm-utils and updates the approval runbook to use it as the source of truth.

Standardises tracking across all SP approval decisions with clear triggers, UTC timestamps, ownership, and outcomes:

  • New approvals — SP being approved for the first time
  • Breach reviews — approved SP has breached SLA thresholds
  • Periodic checks — routine re-verification of an approved SP

A Review Type selector at the top of the template scopes which sections apply. Breach-only sections (Investigation Window, Diagnosis) are marked explicitly. The Outcome and Actions Taken sections cover all three paths.

Other changes:

  • Decision owner field added to the Outcome section so the responsible approver is recorded in the issue body, in addition to the GitHub assignee.
  • Communication wording generalised from "notified" to "notified / engaged" so it reads naturally for new approvals too.

This improves operational consistency, auditability, and handover between approvers as we approach mainnet GA.

Introduces a standard SP approval review issue template in tpm-utils and updates the approval runbook to use it as the source of truth.

Removes duplicated field definitions from the runbook and ensures all SP approval reviews are tracked consistently with clear triggers, UTC timestamps, investigation windows, diagnosis, and outcomes.

The template captures:
- review trigger and timing
- failing metrics and thresholds
- investigation window and maintenance context
- communication with SPs
- diagnosis and classification of issues
- decision, actions taken, and supporting evidence

This improves operational consistency, auditability, and handover between approvers as we approach mainnet production readiness.
@FilOzzy FilOzzy added this to FOC Apr 7, 2026
@github-project-automation github-project-automation Bot moved this to 📌 Triage in FOC Apr 7, 2026
@BigLep BigLep moved this from 📌 Triage to 🔎 Awaiting review in FOC Apr 12, 2026
@BigLep BigLep requested review from beck-8, Copilot and rjan90 April 12, 2026 21:12
@BigLep BigLep added this to the M4.2: mainnet GA milestone Apr 12, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a standardized GitHub issue template for Storage Provider (SP) approval reviews so operational tracking is consistent and auditable, and positions the template as the intended “source of truth” referenced by the runbook.

Changes:

  • Introduces a new SP approval review issue template with structured sections for trigger, metrics, investigation window, communications, diagnosis, outcome, actions, and evidence.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/ISSUE_TEMPLATE/sp-approval-review.md
Comment thread .github/ISSUE_TEMPLATE/sp-approval-review.md
Copy link
Copy Markdown
Contributor

@rjan90 rjan90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good to me

@github-project-automation github-project-automation Bot moved this from 🔎 Awaiting review to ✔️ Approved by reviewer in FOC Apr 13, 2026
@beck-8
Copy link
Copy Markdown

beck-8 commented Apr 13, 2026

Which process should the SP who is preparing to be approved go through?
No comments on other aspects

@TippyFlitsUK
Copy link
Copy Markdown
Contributor Author

Which process should the SP who is preparing to be approved go through? No comments on other aspects

Good question @beck-8 👍

There isn’t a separate approval “application” flow - approval is based on observed behaviour.

I’ve added a short SP approval entry point section to the runbook to make this explicit: SPs receive Dealbot traffic, consistently meet SLA thresholds, and are approved based on sustained performance.

Let me know if you think we should formalise that further, but for now, this reflects how we’re operating.

@beck-8
Copy link
Copy Markdown

beck-8 commented Apr 13, 2026

I hope there can be a process for this too, just a short record. The consent record can be viewed internally anywhere.


Ah, I might have asked a little more clearly. Do we go through this process when approving new SPs? If so, I think the corresponding fields need to be optimized.

@beck-8
Copy link
Copy Markdown

beck-8 commented May 6, 2026

@TippyFlitsUK Can you answer my questions above?

@TippyFlitsUK
Copy link
Copy Markdown
Contributor Author

Still on my list @beck-8 👍
This won't be merged until your question is fully answered. 🙏

@rjan90
Copy link
Copy Markdown
Contributor

rjan90 commented May 18, 2026

@TippyFlitsUK what are the next steps here, before it can land?

…reviews, and periodic checks

Addresses @beck-8's feedback that the template should cover SP onboarding,
not just breach reviews. Adds a Review Type selector at the top and marks
breach-specific sections as conditional. Adds a Decision owner field to make
ownership explicit in the issue body.
@TippyFlitsUK
Copy link
Copy Markdown
Contributor Author

@beck-8 @rjan90 just pushed an update that generalises the template to cover all three review types (new approval / breach review / periodic check), addressing Beck's question. PR description updated to match.

Ready for another look 🙏

Comment thread .github/ISSUE_TEMPLATE/sp-approval-review.md Outdated
Added thresholds and metrics for data storage and retrieval.
@TippyFlitsUK
Copy link
Copy Markdown
Contributor Author

Hey @BigLep. Can you click "merge" on this one? 🙏

@BigLep
Copy link
Copy Markdown
Contributor

BigLep commented May 21, 2026

Hey @BigLep. Can you click "merge" on this one? 🙏

@TippyFlitsUK : doing now
I also gave FilOz write permissions.

@BigLep BigLep merged commit 0a21002 into FilOzone:master May 21, 2026
6 checks passed
@github-project-automation github-project-automation Bot moved this from ✔️ Approved by reviewer to 🎉 Done in FOC May 21, 2026
@TippyFlitsUK
Copy link
Copy Markdown
Contributor Author

Thanks, buddy! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

6 participants